/*
 * Copyright (C) 2025 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the 'License');
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an 'AS IS' BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

export function foo(x) {
  return x instanceof D;
}

export const str = new String('test');

export const str1 = new String('test1');

export const num = Number(123);

export const num1 = Number(456);

export const big = BigInt(9007199254740991);

export const big1 = BigInt(123);

export const fruits = ['apple', 'banana', 'cherry'];

export const fruits1 = ['apple', 'banana', 'cherry'];

export class D {
}

export const d = new D();

export const d1 = new D();

export const myJsSymbol = Symbol('test-symbol-description');

export class E extends D {
}

export const e = new E();